@charset "utf-8";
$header-color:#3BB1F0;
$side-color:#1B3E5C;
.layui-body {
    overflow-y: scroll;
}

.layui-side .layui-nav-child a {
    cursor: pointer;
}

.layui-nav-bar {
    width: 3px !important;
    background: $header-color !important;
}

//logo
.my-layui-logo {
    position: absolute;
    top: 0;
    left: 0;
    background: $side-color;
    width: 200px;
    height: 50px;
    line-height: 50px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
    overflow: hidden;
    text-align: center;
    color: #fff;
    color: rgba(255, 255, 255, .7);
    span {
        font-size: 18px;
    }
}

.layui-layout-admin {
    //左侧导航栏
    .layui-side {
        padding-top: 50px;
        top: 0;
        position: absolute;
        bottom: 0;
        width: 200px;
        background: $side-color;
        z-index: 1001;
        .layui-side-scroll {
            overflow-y: scroll;
            width: 220px;
            .layui-nav-more {
                border: none !important;
            }
            .layui-nav {
                background: none;
                a {
                    padding-right: 15px;
                    &:hover {
                        .layui-icon-right {
                            color: #FFFFFF !important;
                        }
                    }
                    i.layui-icon {
                        margin-right: 10px;
                    }
                    .layui-icon-right {
                        color: #b6b7b8;
                        font-size: 13px !important;
                    }
                }
                .layui-nav-item {
                    //background: url(../../../img/admin/index/menu.png) repeat-x;
                    >a {
                        height: 45px;
                        line-height: 45px;
                        transition: none !important;
                        -webkit-transition: none !important;
                        &:hover {
                            background: none;
                        }
                    }
                }
                li.layui-nav-itemed {
                    >a {
                        border-left: 3px solid $header-color;
                        padding-left: 17px;
                        .layui-icon-right {
                            color: #FFFFFF;
                        }
                    }
                }
                .layui-nav-itemed {
                    >a {
                        >span.layui-icon-right:before {
                            content: "\e61a" !important;
                        }
                    }
                }
                .layui-nav-child {
                    background: $side-color !important;
                    dd {
                        margin: 3px 0;
                        a {
                            padding-left: 43px;
                            height: 40px;
                            line-height: 40px;
                            .layui-icon-right {
                                font-size: 12px !important;
                            }
                        }
                    }
                    .layui-this {
                        a {
                            background: $header-color !important;
                            color: #FFFFFF !important;
                        }
                    }
                    .layui-nav-child {
                        dd {
                            border-bottom: none;
                            a {
                                height: 30px;
                                line-height: 30px;
                                padding-left: 40px;
                                &:hover {
                                    background: $header-color !important;
                                    color: #FFFFFF !important;
                                }
                            }
                        }
                    }
                }
                .layui-icon-right {
                    float: right;
                }
            }
        }
    }
    //右侧顶部header
    .layui-header {
        height: 50px;
        box-sizing: border-box;
        background: #FFFFFF;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
        padding: 0;
        height: 50px;
        .layui-layout-left {
            padding: 0;
            left: 0;
        }
        .layui-layout-right {
            #user_info .layui-nav-child dd.layui-this {
                background-color: none;
            }
        }
        .layui-nav-bar {
            width: 0px !important;
        }
        >ul>li {
            &:hover {
                background: #F6F6F6;
                >a {
                    color: #1E9FFF;
                }
            }
        }
        .layui-nav-item a {
            padding: 0 18px;
            color: #000000;
        }
        .layui-nav .layui-nav-item,
        .layui-layout-admin .layui-logo {
            height: 50px;
            line-height: 50px;
        }
    }
}

//内容主体
.layui-layout-admin .layui-body {
    top: 0;
    bottom: 0;
    left: 200px;
    .layui-tab {
        margin: 0;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-x: hidden;
        .layui-tab-title {
            border-bottom-width: 0;
            border-bottom-style: none;
            .layui-this {
                background: #F6F6F6;
                color: #20222A;
                letter-spacing: 1px;
                &:after {
                    border-width: 0px;
                    border-style: none;
                }
            }
            li {
                color: #666666;
                border-right: 1px solid #f6f6f6;
                &:hover {
                    background: #F6F6F6;
                    color: #20222A;
                }
            }
        }
        #fengexian {
            position: absolute;
            top: 0;
            width: 100%;
            height: 40px;
            background-color: #fff;
            z-index: -1;
            box-sizing: border-box;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
        }
        .layui-tab-content {
            position: absolute;
            left: 0;
            top: 41px;
            right: 0;
            bottom: 0;
            background: #F2F2F2;
            .layui-tab-item {
                position: absolute;
                top: 0;
                right: 0;
                left: 0;
                bottom: 5px;
            }
        }
    }
}

.layui-tab-bar {
    display: none;
}

.layui-layout-admin .layui-header .layui-nav li,
.layui-layout-admin .layui-side,
.layui-layout-admin .layui-side .layui-icon-triangle-r,
.layui-layout-admin .layui-body,
.layui-nav-myitem li,
.layui-nav-myitem a,
.layui-nav-myitem dd {
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
}


/*遮罩*/

.layadmin-body-shade {
    position: fixed;
    display: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
}


/**右键菜单
 */